package com.ruoyi.cinema.BO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class PageBo<T> implements Serializable {

    private int pageNo = 1; // 当前页码
    private int pageSize = 20;

    private List<T> list = new ArrayList<T>();

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
